package com.online_vote_system.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.online_vote_system.demo.vo.Audience;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface AudienceMapper extends BaseMapper<Audience> {

    @Select(" select * FROM audience where aud_email=#{aud_email}")
    Audience getByEmail(String audEmail);

}
